package vn.elca.training.important_classes_excercise.Question11;

import vn.elca.training.important_classes_excercise.Question11.Book;
import vn.elca.training.important_classes_excercise.Question11.BookStore;

/**
 * Hello world!
 * 
 */
public class App {
	public static void main(String[] args) {
		BookStore bs = new BookStore();
		Book b1 = new Book("AAAA", 80, "AB", 9);
		Book b2 = new Book("DCFV", 23, "AB", 9);
		Book b3 = new Book("SEDC", 324, "AB", 9);
		Book b4 = new Book("CDSE", 23, "AB", 9);
		Book b5 = new Book("CDS", 43, "AB", 9);
		Book b6 = new Book("AASCDEAA", 234, "AB", 9);
		Book b7 = new Book("CDSEF", 54, "AB", 9);
		Book b8 = new Book("SFDEFDF", 34, "AB", 9);
		Book b9 = new Book("DFSEFDS", 435, "DF", 9);
		Book b10 = new Book("DSFEE", 56, "AB", 9);
		Book b11 = new Book("SDFECXS", 654, "AB", 9);
		Book b12 = new Book("SDCEFSDF", 546, "ER", 9);
		Book b13 = new Book("SDFESF", 43, "DFG", 9);
		Book b14 = new Book("SDFECSD", 345, "AFB", 9);
		Book b15 = new Book("CSFEWFS", 34, "DVE", 9);
		bs.addBook(b1);
		bs.addBook(b2);
		bs.addBook(b3);
		bs.addBook(b4);
		bs.addBook(b5);
		bs.addBook(b6);
		bs.addBook(b7);
		bs.addBook(b8);
		bs.addBook(b9);
		bs.addBook(b10);
		bs.addBook(b11);
		bs.addBook(b12);
		bs.addBook(b13);
		bs.addBook(b14);
		bs.addBook(b15);
		System.out.println(bs.getTheMostExpensiveBookOf("AFB"));

	}
}
